package com.shotinthedark.weapons
{
	import com.shootingGame.renderableClasses.PickupObject;
	import com.shootingGame.weaponsClasses.Weapon;
	import com.shootingGame.weaponsClasses.WeaponInfo;
	import com.shootingGame.weaponsClasses.launchProfiles.LaunchProfile;
	import com.shootingGame.weaponsClasses.ordinance.MachineGunOrdinance;

	public class MachineGunWeapon extends Weapon
	{	
		public function MachineGunWeapon(xPos:Number = 0, yPos:Number = 0)
		{
		    
			var primaryFireInfo : WeaponInfo = new WeaponInfo(LaunchProfile.LINEAR_TRAJECTORY, 1.5, 10, 10, 5, 150,
												int.MAX_VALUE, 1, 0.8,1, 0.045,0.1);
			primaryFireInfo.ordinanceSample = new MachineGunOrdinance(attachedTo, primaryFireInfo,null,0,0,0,0,0,1,int.MAX_VALUE);
			super(new MachineGunWeaponType1(), xPos, yPos, true, primaryFireInfo);
			type = 2;
		}
		
		public static function getPickupObject() : PickupObject{
			return new PickupObject(new MachineGunWeaponType1(), "com.shotinthedark.weapons.MachineGunWeapon");
		}
	}
}
